import React from 'react';

function ReceiverInfo(props) {
    return (
        <div className="card">
            <div className="card-header">
                <h3>收货人信息</h3>
            </div>
            <div className="card-body">
                <p>收货地址：{props.loc}</p>
                <p>收货人姓名：{props.name}</p>
                <p>收货人电话：{props.phone}</p>
            </div>
        </div>
    );
}

export default ReceiverInfo;